Optimizing neural networks for generating analytical or predictive outputs

ABSTRACT

Certain embodiments involve generating or optimizing a neural network for generating analytical or predictive outputs. The neural network can be generated using a relationship between various predictor variables and an outcome (e.g., a condition&#39;s presence or absence). The neural network can be used to determine a relationship between each of the predictor variables and a response variable. The neural network can be optimized by iteratively adjusting the neural network such that a monotonic relationship exists between each of the predictor variables and the response variable. The optimized neural network can be used both for accurately determining response variables using predictor variables and determining adverse action codes for the predictor variables, which indicate an effect or an amount of impact that a given predictor variable has on the response variable. The neural network can be used to generate adverse action codes upon which consumer behavior can be modified to improve the response variable score.

CROSS-REFERENCE TO RELATED APPLICATIONS

This disclosure is a continuation-in-part of International Patent Application No. PCT/US2016/024134, entitled “Optimizing Neural Networks for Risk Assessment” and filed Mar. 25, 2016, which claims priority to U.S. Provisional Application No. 62/139,445, entitled “Optimizing Neural Networks for Risk Assessment,” filed Mar. 27, 2015 and U.S. Provisional Application No. 62/192,260, entitled “Optimizing Neural Networks for Risk Assessment,” filed Jul. 14, 2015, the entireties of each of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates generally to artificial intelligence. More specifically, but not by way of limitation, this disclosure relates to machine learning using artificial neural networks and emulating intelligence to optimize neural networks for assessing risk, predicting entity behaviors, or modeling other predictive or analytical outputs.

BACKGROUND

In machine learning, artificial neural networks can be used to perform one or more functions (e.g., acquiring, processing, analyzing, and understanding various inputs in order to produce an output that includes numerical or symbolic information). A neural network includes one or more algorithms and interconnected nodes that exchange data between one another. The nodes can have numeric weights that can be tuned based on experience, which makes the neural network adaptive and capable of learning. For example, the numeric weights can be used to train the neural network such that the neural network can perform the one or more functions on a set of inputs and produce an output or variable that is associated with the set of inputs.

SUMMARY

Various embodiments of the present disclosure provide systems and methods for optimizing a neural network for generating a predictive or analytical output (e.g., a risk assessment). The neural network can model relationships between various predictor variables and various outcomes modeled using one or more response variables. Examples of outcomes include, but are not limited to, a positive outcome indicating the satisfaction of a condition and a negative outcome indicating a failure to satisfy a condition. The neural network can be optimized by iteratively adjusting the neural network such that a monotonic relationship exists between each of the predictor variables and the response variable. In some aspects, the optimized neural network can be used both for accurately determining response variables using predictor variables and determining explanatory data for the predictor variables, which indicates an effect or an amount of impact that a given predictor variable has on the response variable. An example of explanatory data is an adverse action code.

This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by reference to appropriate portions of the entire specification, any or all drawings, and each claim.

The foregoing, together with other features and examples, will become more apparent upon referring to the following specification, claims, and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram depicting an example of a computing environment in which an automated modeling application operates, according to certain aspects of the present disclosure.

FIG. 2 is a block diagram depicting an example of the automated modeling application of FIG. 1, according to certain aspects of the present disclosure.

FIG. 3 is a flow chart depicting an example of a process for optimizing a neural network for generating analytical or predictive outputs, according to certain aspects of the present disclosure.

FIG. 4 is a diagram depicting an example of a single-layer neural network that can be generated and optimized by the automated modeling application of FIGS. 1 and 2, according to certain aspects of the present disclosure.

FIG. 5 is a diagram depicting an example of a multi-layer neural network that can be generated and optimized by the automated modeling application of FIGS. 1 and 2, according to certain aspects of the present disclosure.

FIG. 6 is a flow chart depicting an example of a process for using a neural network, which can be generated and optimized by the automated modeling application of FIGS. 1 and 2, to identify predictor variables with larger impacts on a risk indicator, a prediction of entity behavior, or another response variable, according to certain aspects of the present disclosure.

FIG. 7 is a block diagram depicting an example of a computing system that can be used to execute an application for optimizing a neural network for generating analytical or predictive outputs according to certain aspects of the present disclosure.

DETAILED DESCRIPTION

Certain aspects and features of the present disclosure are directed to optimizing a neural network for generating analytical or predictive outputs. The neural network can include one or more computer-implemented algorithms or models used to perform a variety of functions including, for example, obtaining, processing, and analyzing various predictor variables in order to output an expected value of a response variable (e.g., a risk indicator value) associated with the predictor variables. The neural network can be represented as one or more hidden layers of interconnected nodes that can exchange data between one another. The layers may be considered hidden because they may not be directly observable in the normal functioning of the neural network. The connections between the nodes can have numeric weights that can be tuned based on experience. Such tuning can make neural networks adaptive and capable of “learning.” Tuning the numeric weights can involve adjusting or modifying the numeric weights to increase the accuracy of a risk indicator, prediction of entity behavior, or other response variable provided by the neural network. In some aspects, the numeric weights can be tuned through a process referred to as training.

In some aspects, an automated modeling application can generate or optimize a neural network for generating analytical or predictive outputs. For example, the automated modeling application can receive various predictor variables and determine a relationship between each predictor variable and an outcome such as, but not limited to, a positive outcome indicating that a condition is satisfied or a negative outcome indicating that the condition is not satisfied. The automated modeling application can generate the neural network using the relationship between each predictor variable and the outcome. In some aspects, an outcome can have a value from a set of discrete values. In other aspects, an outcome can have a value from a set of continuous values. The neural network can then be used to determine a relationship between each of the predictor variables and a risk indicator, prediction of entity behavior, or other response variable.

Optimizing the neural network can include iteratively adjusting the number of nodes in the neural network such that a monotonic relationship exists between each of the predictor variables and the risk indicator, prediction of entity behavior, or other response variable. Examples of a monotonic relationship between a predictor variable and a response variable include a relationship in which a value of the response variable increases as the value of the predictor variable increases or a relationship in which the value of the response variable decreases as the value of the predictor variable increases. The neural network can be optimized such that a monotonic relationship exists between each predictor variable and the response variable. The monotonicity of these relationships can be determined based on a rate of change of the value of the response variable with respect to each predictor variable.

Optimizing the neural network in this manner can allow the neural network to be used both for accurately determining response variable values (e.g., risk indicators, predictions of entity behavior, etc.) using predictor variables and determining adverse action codes for the predictor variables. For example, an optimized neural network can be used for both determining a credit score associated with an entity (e.g., an individual or business) based on predictor variables associated with the entity. A predictor variable can be any variable predictive of a behavior that is associated with an entity. Any suitable predictor variable that is authorized for use by an appropriate legal or regulatory framework may be used. Examples of predictor variables include, but are not limited to, variables indicative of one or more demographic characteristics of an entity (e.g., age, gender, income, etc.), variables indicative of prior actions or transactions involving the entity (e.g., information that can be obtained from credit files or records, financial records, consumer records, or other data about the activities or characteristics of the entity), variables indicative of one or more behavioral traits of an entity, etc. For example, the neural network can be used to determine the amount of impact that each predictor variable has on the value of the response variable after determining a rate of change of the value of the response variable with respect to each predictor variable. An adverse action code can indicate an effect or an amount of impact that a given predictor variable has on the value of the credit score or other response variable (e.g., the relative negative impact of the predictor variable on a credit score or other response variable).

In some aspects, using and optimizing artificial neural networks, can provide performance improvements as compared to, for example, logistic regression techniques to develop reports that quantify risks associated with individuals or other entities. For example, in a credit scoring system, credit scorecards and other credit reports used for credit risk management can be generated using logistic regression models, where decision rules are used to determine adverse action code assignments that indicate the rationale for one or more types of information in a credit report (e.g., the aspects of an entity that resulted in a given credit score). Adverse action code assignment algorithms used for logistic regression may not be applicable in machine-learning techniques due to the modeled non-monotonicities of the machine-learning techniques. Adverse action code assignments may be inaccurate if performed without accounting for the non-monotonicity. By contrast, neural networks can be optimized to account for non-monotonicity, thereby allowing the neural network to be used for providing accurate credit scores and associated adverse action codes.

These illustrative examples are given to introduce the reader to the general subject matter discussed here and are not intended to limit the scope of the disclosed concepts. The following sections describe various additional features and examples with reference to the drawings in which like numerals indicate like elements, and directional descriptions are used to describe the illustrative examples but, like the illustrative examples, should not be used to limit the present disclosure.

FIG. 1 is a block diagram depicting an example of a computing environment 100 in which an automated modeling application 102 operates. Computing environment 100 can include the automated modeling application 102, which is executed by an automated modeling server 104. The automated modeling application 102 can include one or more modules for acquiring, processing, and analyzing data to optimize a neural network for generating response variable values (e.g., assessing risk through a credit score) and identifying contributions of certain predictors to the response variable values (e.g., adverse action codes for the credit score). In some aspects, a response variable can be a random variable from an exponential family of distributions. The automated modeling application 102 can obtain the data used for generating analytical or predictive outputs from the predictor variable database 103, the user device 108, or any other source. In some aspects, the automated modeling server 104 can be a specialized computer or other machine that processes data in computing environment 100 for generating or optimizing a neural network for assessing risk, predicting an entity behavior, or other computing response variable values.

The computing environment 100 can also include a server 106 that hosts a predictor variable database 103, which is accessible by a user device 108 via the network 110. The predictor variable database 103 can store data to be accessed or processed by any device in the computing environment 100 (e.g., the automated modeling server 104 or the user device 108). The predictor variable database 103 can also store data that has been processed by one or more devices in the computing environment 100.

The predictor variable database 103 can store a variety of different types of data organized in a variety of different ways and from a variety of different sources. For example, the predictor variable database 103 can include attribute data 105. The attribute data 105 can be any data that can be used for generating analytical or predictive outputs. As an example, the attribute data can include data obtained from credit records, credit files, financial records, or any other data that can be used to for assessing a risk, modeling a predicted behavior, or modeling some other outcome.

The user device 108 may include any computing device that can communicate with the computing environment 100. For example, the user device 108 may send data to the computing environment or a device in the computing environment (e.g., the automated modeling application 102 or the predictor variable database 103) to be stored or processed. In some aspects, the network device is a mobile device (e.g., a mobile telephone, a smartphone, a PDA, a tablet, a laptop, etc.). In other examples, the user device 108 is a non-mobile device (e.g., a desktop computer or another type of network device).

Communication within the computing environment 100 may occur on, or be facilitated by, a network 110. For example, the automated modeling application 102, the user device 108, and the predictor variable database 103 may communicate (e.g., transmit or receive data) with each other via the network 110. The computing environment 100 can include one or more of a variety of different types of networks, including a wireless network, a wired network, or a combination of a wired and wireless network. Although the computing environment 100 of FIG. 1 is depicted as having a certain number of components, in other examples, the computing environment 100 has any number of additional or alternative components. Further, while FIG. 1 illustrates a particular arrangement of the automated modeling application 102, user device 108, predictor variable database 103, and network 110, various additional arrangements are possible. For example, the automated modeling application 102 can directly communicate with the predictor variable database 103, bypassing the network 110. Furthermore, while FIG. 1 illustrates the automated modeling application 102 and the predictor variable database 103 as separate components on different servers, in some embodiments, the automated modeling application 102 and the predictor variable database 103 are part of a single system hosted on one or more servers.

The automated modeling application can include one or more modules for generating and optimizing a neural network. For example, FIG. 2 is a block diagram depicting an example of the automated modeling application 102 of FIG. 1. The automated modeling application 102 depicted in FIG. 2 can include various modules 202, 204, 206, 208, 210, 212 for generating and optimizing a neural network for assessing risk, predicting entity behavior, or otherwise computing response variable values. Each of the modules 202, 204, 206, 208, 210, 212 can include one or more instructions stored on a computer-readable storage medium and executable by processors of one or more computing devices (e.g., the automated modeling server 104). Executing the instructions causes the automated modeling application 102 to generate a neural network and optimize the neural network.

The automated modeling application 102 can use the predictor variable module 202 for obtaining or receiving data. In some aspects, the predictor variable module 202 can include instructions for causing the automated modeling application 102 to obtain or receive the data from a suitable data structure, such as the predictor variable database 103 of FIG. 1. The predictor variable module 202 can use any predictor variables or other data suitable for assessing one or more risks associated with an entity, predicting the entity's behavior, or otherwise computing response variable values with respect to the entity. Examples of predictor variables can include data associated with an entity that describes prior actions or transactions involving the entity (e.g., information that can be obtained from credit files or records, financial records, consumer records, or other data about the activities or characteristics of the entity), behavioral traits of the entity, demographic traits of the entity, or any other traits of that may be used to compute analytical or predictive outputs associated with the entity. In some aspects, predictor variables can be obtained from credit files, financial records, consumer records, etc.

In some aspects, the automated modeling application 102 can include a predictor variable analysis module 204 for analyzing various predictor variables. The predictor variable analysis module 204 can include instructions for causing the automated modeling application 102 to perform various operations on the predictor variables for analyzing the predictor variables.

For example, the predictor variable analysis module 204 can perform an exploratory data analysis, in which the predictor variable analysis module 204 analyzes a distribution of one or more predictor variables and determines a bivariate relationship or correlation between the predictor variable and an odds index or a good/bad odds ratio. The odds index can indicate a ratio of positive or negative outcomes associated with the predictor variable. A positive outcome can indicate that a condition has been satisfied. A negative outcome can indicate that the condition has not been satisfied. As an example, the predictor variable analysis module 204 can perform the exploratory data analysis to identify trends associated with predictor variables and a good/bad odds ratio (e.g., the odds index).

In this example, a bivariate relationship between the predictor variable and the odds index indicates a measure of the strength of the relationship between the predictor variable and the odds index. In some aspects, the bivariate relationship between the predictor variable and the odds index can be used to determine (e.g., quantify) a predictive strength of the predictor variable with respect to the odds index. The predictive strength of the predictor variable indicates an extent to which the predictor variable can be used to accurately predict a positive or negative outcome or a likelihood of a positive or negative outcome occurring based on the predictor variable.

For instance, the predictor variable can be a number of times that an entity (e.g., a consumer) fails to pay an invoice within 90 days. A large value for this predictor variable (e.g., multiple delinquencies) can result in a high number of negative outcomes (e.g., default on the invoice), which can decrease the odds index (e.g., result in a higher number of adverse outcomes, such as default, across one or more consumers). As another example, a small value for the predictor variable (e.g., fewer delinquencies) can result in a high positive outcome (e.g., paying the invoice on time) or a lower number of negative outcomes, which can increase the odds index (e.g., result in a lower number of adverse outcomes, such as default, across one or more consumers). The predictor variable analysis module 204 can determine and quantify an extent to which the number of times that an entity fails to pay an invoice within 90 days can be used to accurately predict a default on an invoice or a likelihood that that will default on the invoice.

In some aspects, the predictor variable analysis module 204 can develop an accurate model of a relationship between one or more predictor variables and one or more positive or negative outcomes. The model can indicate a corresponding relationship between the predictor variables and an odds index or a corresponding relationship between the predictor variables and a response variable (e.g., a credit score or other risk indicator associated with an entity, a prediction of spending or other entity behavior, etc.). As an example, the automated modeling application 102 can develop a model that accurately indicates that a consumer having more financial delinquencies is a higher risk than a consumer having fewer financial delinquencies.

The automated modeling application 102 can also include a treatment module 206 for causing a relationship between a predictor variable and an odds index to be monotonic. Examples of a monotonic relationship between the predictor variable and the odds index include a relationship in which a value of the odds index increases as a value of the predictor variable increases or a relationship in which the value of the odds index decreases as the value the predictor variable increases. In some aspects, the treatment module 206 can execute one or more algorithms that apply a variable treatment, which can cause the relationship between the predictor variable and the odds index to be monotonic. Examples of functions used for applying a variable treatment include (but are not limited to) binning, capping or flooring, imputation, substitution, recoding variable values, etc.

The automated modeling application 102 can also include a predictor variable reduction module 208 for identifying or determining a set of predictor variables that have a monotonic relationship with one or more odds indices. For example, the treatment module 206 may not cause a relationship between every predictor variable and the odds index to be monotonic. In such examples, the predictor variable reduction module 208 can select a set of predictor variables with monotonic relationships to one or more odds indices. The predictor variable reduction module 208 can execute one or more algorithms that apply one or more preliminary variable reduction techniques for identifying the set of predictor variables having the monotonic relationship with the one or more odds indices. Preliminary variable reduction techniques can include rejecting or removing predictor variables that do not have a monotonic relationship with one or more odds indices.

In some aspects, the automated modeling application 102 can include a neural network module 210 for generating a neural network. The neural network module 210 can include instructions for causing the automated modeling application 102 to execute one or more algorithms to generate the neural network. The neural network can include one or more computer-implemented algorithms or models. Neural networks can be represented as one or more layers of interconnected nodes that can exchange data between one another. The connections between the nodes can have numeric weights that can be tuned based on experience. Such tuning can make neural networks adaptive and capable of learning. Tuning the numeric weights can increase the accuracy of output provided by the neural network. In some aspects, the automated modeling application 102 can tune the numeric weights in the neural network through a process referred to as training (e.g., using the optimization module 212 described below).

In some aspects, the neural network module 210 includes instructions for causing the automated modeling application 102 to generate a neural network using a set of predictor variables having a monotonic relationship with an associated odds index. For example, the automated modeling application 102 can generate the neural network such that the neural network models the monotonic relationship between one or more odds indices and the set of predictor variables identified by the predictor variable reduction module 208.

The automated modeling application 102 can generate any type of neural network for assessing risk, predicting entity behavior, or otherwise computing response variable values. In some examples, the automated modeling application can generate a neural network based on one or more criteria or rules obtained from industry standards.

For example, the automated modeling application can generate a feed-forward neural network. A feed-forward neural network can include a neural network in which every node of the neural network propagates an output value to a subsequent layer of the neural network. For example, data may move in one direction (forward) from one node to the next node in a feed-forward neural network.

The feed-forward neural network can include one or more hidden layers of interconnected nodes that can exchange data between one another. The layers may be considered hidden because they may not be directly observable in the normal functioning of the neural network. For example, input nodes corresponding to predictor variables can be observed by accessing the data used as the predictor variables, and nodes corresponding to risk assessments or other response variables can be observed as outputs of an algorithm using the neural network. But the nodes between the predictor variable inputs and the response variable outputs may not be readily observable, though the hidden layer is a standard feature of neural networks.

In some aspects, the automated modeling application 102 can generate the neural network and use the neural network for both determining a response variable (e.g., a credit score) based on predictor variables and determining an impact or an amount of impact of the predictor variable on the response variable. For example, the automated modeling application 102 can include an optimization module 212 for optimizing neural network generated using the neural network module 210 so that the both the response variable and the impact of a predictor variable can be identified using the same neural network.

The optimization module 212 can optimize the neural network by executing one or more algorithms that apply a coefficient method to the generated neural network to modify or train the generated neural network. In some aspects, the coefficient method is used to analyze a relationship between, for example, a credit score or other response variable and one or more predictor variables used to obtain the credit score. The coefficient method can be used to determine how one or more predictor variables influence the response variable (e.g., a credit score or other risk indicator, a prediction of entity behavior, etc.). In one example, the coefficient method can ensure that a modeled relationship between the predictor variables and the credit score has a trend that matches or otherwise corresponds to a trend identified using an exploratory data analysis for a set of sample consumer data.

In some aspects, the outputs from the coefficient method can be used to adjust the neural network. For example, if the exploratory data analysis indicates that the relationship between one of the predictor variables and an odds ratio (e.g., an odds index) is positive, and the neural network shows a negative relationship between a predictor variable and a credit score, the neural network can be modified. For example, the predictor variable can be eliminated from the neural network or the architecture of the neural network can be changed (e.g., by adding or removing a node from a hidden layer or increasing or decreasing the number of hidden layers).

For example, the optimization module 212 can include instructions for causing the automated modeling application 102 to determine a relationship between a risk indicator, prediction of entity behavior, or other response variable and one or more predictor variables used to determine the risk indicator. As an example, the optimization module 212 can determine whether a relationship between each of the predictor variables and a risk indicator or other response variable is monotonic. A monotonic relationship exists between each of the predictor variables and the response variable either when a value of the response variable increases as a value of each of the predictor variables increases or when the value of the response variable decreases as the value of each of the predictor variable increases.

In some aspects, the optimization module 212 includes instructions for causing the automated modeling application to determine that predictor variables that have a monotonic relationship with the response variable are valid for the neural network. For any predictor variables that are not valid (e.g., do not have a monotonic relationship with the response variable), the optimization module 212 can cause the automated modeling application 102 to optimize the neural network by iteratively adjusting the predictor variables, the number of nodes in the neural network, or the number of hidden layers in the neural network until a monotonic relationship exists between each of the predictor variables and the response variable. Adjusting the predictor variables can include eliminating the predictor variable from the neural network. Adjusting the number of nodes in the neural network can include adding or removing a node from a hidden layer in the neural network. Adjusting the number of hidden layers in the neural network can include adding or removing a hidden layer in the neural network.

The optimization module 212 can include instructions for causing the automated modeling application 102 to terminate the iteration if one or more conditions are satisfied. In one example, the iteration can terminate if the monotonic relationship exists between each of the predictor variables and the response variable. In another example, the iteration can terminate if a relationship between each of the predictor variables and the response variable corresponds to a relationship between each of the predictor variables and an odds index (e.g., the relationship between each of the predictor variables and the odds index using the predictor variable analysis module 204 as described above). Additionally or alternatively, the iteration can terminate if the modeled relationship between the predictor variables and the response variable has a trend that is the same as or otherwise corresponds to a trend identified using the exploratory data analysis (e.g., the exploratory data analysis conducted using the predictor variable analysis module 204).

In some aspects, the optimization module 212 includes instructions for causing the automated modeling application 102 to determine an effect or an impact of each predictor variable on the response variable after the iteration is terminated. For example, the automated modeling application 102 can use the neural network to incorporate non-linearity into one or more modeled relationships between each predictor variable and the response variable. The optimization module 212 can include instructions for causing the automated modeling application 102 to determine a rate of change (e.g., a derivative or partial derivative) of the response variable with respect to each predictor variable through every path in the neural network that each predictor variable can follow to affect the response variable. In some aspects, the automated modeling application 102 determines a sum of derivatives for each connection of a predictor variable with the response variable. In some aspects, the automated modeling application can analyze the partial derivative for each predictor variable across a range of interactions within a neural network model and a set of sample data for the predictor variable. An example of sample data is a set of values of the predictor variable that are obtained from credit records or other consumer records. The automated modeling application can determine that the combined non-linear influence of each predictor variable is aligned with decision rule requirements used in a relevant industry (e.g., the credit reporting industry). For example, the automated modeling application can identify adverse action codes from the predictor variables and the consumer can modify his or her behavior relative to the adverse action codes such that the consumer can improve his or her credit score.

If the automated modeling application 102 determines that the rate of change is monotonic (e.g., that the relationships modeled via the neural network match the relationships observed via an exploratory data analysis), the automated modeling application 102 may use the neural network to determine and output an adverse action code for one or more of the predictor variables. The adverse action code can indicate the effect or the amount of impact that a given predictor variable has on the response variable. In some aspects, the optimization module 212 can determine a rank of each predictor variable based on the impact of each predictor variable on the response variable. The automated modeling application 102 may output the rank of each predictor variable.

Optimizing the neural network in this manner can allow the automated modeling application 102 to use the neural network to accurately determine response variables using predictor variables and accurately determine an associated adverse action code for each of the predictor variables. The automated modeling application 102 can output one or more of the response variable and the adverse code associated with each of the predictor variables. In some applications used to generate credit decisions, the automated modeling application 102 can use an optimized neural network to provide recommendations to a consumer based on adverse action codes. The recommendations may indicate one or more actions that the consumer can take to improve the change the response variable (e.g., improve a credit score).

FIG. 3 is a flow chart depicting an example of a process for optimizing a neural network for generating analytical or predictive outputs. For illustrative purposes, the process is described with respect to the examples depicted in FIGS. 1 and 2. Other implementations, however, are possible.

In block 302, multiple predictor variables are obtained. In some aspects, the predictor variables are obtained by an automated modeling application (e.g., the automated modeling application 102 using the predictor variable analysis module 204 of FIG. 2). For example, the automated modeling application can obtain the predictor variables from a predictor variable database (e.g., the predictor variable database 103 of FIG. 1). In some aspects, the automated modeling application can obtain the predictor variables from any other data source. Examples of predictor variables can include data associated with an entity that describes prior actions or transactions involving the entity (e.g., information that can be obtained from credit files or records, financial records, consumer records, or other data about the activities or characteristics of the entity), behavioral traits of the entity, demographic traits of the entity, or any other traits of that may be used to predict risks, behaviors, or other modeled outputs (i.e., modeled expected values of response variables) associated with the entity. In some aspects, predictor variables can be obtained from credit files, financial records, consumer records, etc.

In block 304, a correlation between each predictor variable and a positive or negative outcome is determined. In some aspects, the automated modeling application determines the correlation (e.g., using the predictor variable analysis module 204 of FIG. 2). For example, the automated modeling application can perform an exploratory data analysis on a set of candidate predictor variables, which involves analyzing each predictor variable and determines a bivariate relationship or correlation between each predictor variable and an odds index. The odds index indicates a ratio of positive or negative outcomes associated with the predictor variable. In some aspects, the bivariate relationship between the predictor variable and the odds index can be used to determine (e.g., quantify) a predictive strength of the predictor variable with respect to the odds index. The predictive strength of the predictor variable can indicate an extent to which the predictor variable can be used to accurately predict a positive or negative outcome or a likelihood of a positive or negative outcome occurring based on the predictor variable.

In some aspects, in block 304, the automated modeling application causes a relationship between each of the predictor variables and the odds index to be monotonic (e.g., using the treatment module 206 of FIG. 2). A monotonic relationship exists between the predictor variable and the odds index if a value of the odds index increases as a value of the predictor variable increases or if the value of the odds index decreases as the value the predictor variable increases.

The automated modeling application can identify or determine a set of predictor variables that have a monotonic relationship with one or more odds indices (e.g., using the predictor variable reduction module 208 of FIG. 2). In some aspects, the automated modeling application can also reject or remove predictor variables that do not have a monotonic relationship with one or more odds indices (e.g., predictor variables not included in the set).

In block 306, a neural network is generated for determining a relationship between each predictor variable and a response variable based on the correlation between each predictor variable and a positive or negative outcome (e.g., the correlation determined in block 304). The responsive variable indicates some behavior associated with the entity (e.g., a specific behavior performed by the entity, a risk indicator for the entity's behavior, etc.). Determining the relationship between a predictor variable and the response variable can include determining the relationship between the predictor variable and a modeled expected value of the response variable. In some aspects, the automated modeling application can generate the neural network using, for example, the neural network module 210 of FIG. 2.

The neural network can include input nodes corresponding to a set of predictor variables having a monotonic relationship with an associated odds index (e.g., the set of predictor variables identified in block 304). For example, the automated modeling application can generate the neural network such that the neural network models the monotonic relationship between the set of predictor variables and one or more odds indices.

The automated modeling application can generate any type of neural network. For example, the automated modeling application can generate a feed-forward neural network having a single layer of hidden nodes or multiple layers of hidden nodes. In some examples, the automated modeling application can generate the neural network based on one or more criteria or decision rules obtained from a relevant financial industry, company, etc.

As an example, FIG. 4 is a diagram depicting an example of a single-layer neural network 400 that can be generated and optimized by the automated modeling application 102 of FIGS. 1 and 2. In the example depicted in FIG. 4, the single-layer neural network 400 can be a feed-forward single-layer neural network that includes n input predictor variables and m hidden nodes. For example, the single-layer neural network 400 includes inputs X₁ through X_(n). The input nodes X₁ through X_(n) represent predictor variables, which can be obtained as inputs 103 ₁ through 103 _(n) (e.g., from predictor variable database 103 of FIG. 1). The nodes Y_(l), l=1, . . . , L, in FIG. 4 represents a response variable (or levels of a response variable) that can be determined using the predictor variables. The example of a single-layer neural network 400 depicted in FIG. 4 includes a single layer of hidden nodes H₁ through H_(m) which represent intermediate values. But neural networks with any number of hidden layers can be optimized using the operations described herein.

In some aspects, the single-layer neural network 400 uses the predictor variables X₁ through X_(n) as input values for determining the intermediate values H₁ through H_(m). For example, the single-layer neural network 400 depicted in FIG. 4 uses the numeric weights or coefficients β₁₁ through β_(nm) to determine the intermediate values H₁ through H_(m) based on predictor variables X₁ through X_(n). The single-layer neural network then uses numeric weights or coefficients δ₁ ^(l) through δ_(m) ^(l) to determine the expected value of the response variable Y based on the intermediate values H₁ through H_(m). In this manner, the single-layer neural network 400 can map the predictor variables X₁ through X_(n) by receiving the predictor variables X₁ through providing the predictor variables X₁ through X_(n) to the hidden nodes H₁ through H_(m) to be transformed into intermediate values using coefficients β₁ ^(l) through β_(nm), transforming the intermediate variables H₁ through H_(m) using the coefficients δ₁ ^(l) through δ_(m) ^(l), and providing the expected value of the response variable Y_(l).

In the single-layer neural network 400 depicted in FIG. 4, the mapping β_(ij):X_(i)→H_(j) provided by each coefficient β maps the i^(th) predictor variable to the j^(th) hidden node, where i has values from 0 to n and j has values from 1 to m. The mapping δ_(j) ^(l):H_(i)→Y_(i) maps the j^(th) hidden node to an output (e.g., the l^(th) response level of a response variable). In the example depicted in FIG. 4, each of the hidden nodes H₁ through H_(m) is modeled as a logistic function of the predictor variables X_(i) and E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) is a monotonic function of the hidden nodes. For example, the automated modeling application can use the following equations to represent the various nodes and operations of the single-layer neural network 400 depicted in FIG. 4:

$\begin{matrix} {{H_{j} = \frac{1}{1 + {\exp\left( {{- X}\;\beta^{j}} \right)}}},{{E\left( Y_{l} \right)} = {f_{l}\left( {H^{p}\delta^{l}} \right)}},} & (1) \\ {{X = \left\lbrack {1,X_{1},\ldots\mspace{14mu},X_{n}} \right\rbrack},{H = \left\lbrack {1,H_{1},\ldots\mspace{14mu},H_{m}} \right\rbrack},} & (2) \\ {{\beta^{j} = \left\lbrack {\beta_{{0j}\;},\beta_{1j},\ldots\mspace{14mu},\beta_{nj}} \right\rbrack^{T}},{\delta^{l} = {\left\lbrack {\delta_{0}^{l},\delta_{1}^{l},\ldots\mspace{14mu},\delta_{m}^{l}} \right\rbrack^{T}.}}} & (3) \end{matrix}$

The modeled output E(Y_(l))=ƒ_(l) (H^(p)δ^(l)) can be monotonic with respect to each of the predictor variables X₁ through X_(n) in the single-layer neural network 400. In credit decision applications, the modeled output E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) can be monotonic for each of the consumers (e.g., individuals or other entities) in the sample data set used to generate the neural network model.

In some aspects, the automated modeling application (e.g., the automated modeling application 102 of FIGS. 1 and 2) can use the single-layer neural network 400 to determine a value for the expected value of a response variable Y_(l). As an example, in credit decision applications, the expected value of the response variable Y may be a modeled probability of a binary random variable associated with the response variable and can be continuous with respect to the predictor variables X₁ through X_(n). In some aspects, the automated modeling application can use the feed-forward neural network 400 having a single hidden layer that is monotonic with respect to each predictor variable used in the neural network for generating analytical or predictive outputs. The single-layer neural network 400 can be used by the automated modeling application to determine a value for the expected value of a random variable E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) that represents a response variable or other output probability. For example, in credit decisioning applications, E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) may be the modeled probability of a binary random variable associated with risk, and can be continuous with respect to the predictor variables.

In some aspects, a single-layer neural network (e.g., the single-layer neural network 400 of FIG. 4) may be dense in the space of continuous functions, but residual error may exist in practical applications. For example, in credit decision applications, the input predictor variables X₁ through X_(n) may not fully account for consumer behavior and may only include a subset of dimensions captured by a credit file. In some aspects, the performance of a neural network can be improved by applying a more general feed-forward neural network with multiple hidden layers.

For example, FIG. 5 is a diagram depicting an example of multi-layer neural network 500 that can be generated and optimized by the automated modeling application 102 of FIGS. 1 and 2. In the example depicted in FIG. 5, the multi-layer neural network 500 is a feed-forward neural network. The neural network 500 includes n input nodes that represent predictor variables, m_(k) hidden nodes in the k^(th) hidden layer, and p hidden layers. The neural network 500 can have any differentiable sigmoid activation function, φ:

→

that accepts real number inputs and outputs a real number.

Examples of activation functions include, but are not limited to, a logistic function (e.g., 1/(1+e^(−z))), an arc-tangent function (e.g., 2/tan⁻¹(z)), and a hyperbolic tangent function

$\left( {{e.g.},\mspace{14mu}{1 - \frac{2}{1 + e^{2\; z}}}} \right).$ These activation functions are implemented in numerous statistical software packages to fit neural networks.

The input nodes X₁ through X_(n) represent predictor variables, which can be obtained as inputs 103 ₁ through 103 _(n) (e.g., from predictor variable database 103 of FIG. 1). The node in FIG. 5 represents the l^(th) level of a response variable that can be determined using the predictor variables X₁ through X_(n).

In the multi-layer neural network 500, the variable H_(j) ^(k) can denote the j^(th) node in the k^(th) hidden layer. For convenience, denote H_(i) ⁰=X_(i) and m_(o)=n. In FIG. 5, β_(ij) ^(k):H_(i) ^(k−1)→H_(i) ^(k), where i=0, . . . , m_(k−1), j=1, . . . , m_(k), and k=1, . . . , p, is the mapping of the i^(th) node in the (k−1)^(th) layer to the j^(th) node in the k^(th) layer. Furthermore, δ_(j) ^(l):H_(j) ^(p)→Y_(l), where j=0, . . . , m_(p) and l=1, . . . , L, is the mapping of the j^(th) node in the p^(th) hidden layer to the l^(th) level of a response variable. The model depicted in FIG. 5 is then specified as: H _(j) ^(k)=φ(H ^(k−1)β_(·j) ^(k)), E(Y _(l))=ƒ_(l)(H ^(p)δ^(l)),  (4) H ⁰ =X=[1, X ₁ , . . . , X _(n)], H ^(k)=[1, H ₁ ^(k) , . . . , H _(m) _(k) ^(k)],  (5) β_(·j) ^(k)=[β_(0j) ^(k), β_(1j) ^(k), . . . , β_(m) _(k−1) _(j) ^(k)]^(T), δ^(l)=[δ₀ ^(l), δ₁ ^(l), . . . , δ_(m) _(p) ^(l)]^(T)  (6)

In this example, φ(z) is the activation function. Examples of activation functions include, but are not limited to, a logistic function (e.g., 1/(1+e^(−z))), an arc-tangent function (e.g., 2/tan⁻¹(z)), and a hyperbolic tangent function

$\left( {{e.g.},\mspace{14mu}{1 - \frac{2}{1 + e^{2\; z}}}} \right).$ Similarly, an output function ƒ(z) allows a final transformation of the vector of L outputs. Examples of output functions are provided in table 1.

TABLE 1 Distribution f(z) Beta 1 / (1 + e^(−z)) Binomial 1 / (1 + e^(−z)) Gamma e^(z) Multinomial $e^{z_{L}}/{\sum\limits_{i = 1}^{L}\; e^{z_{i}}}$ Normal z Poisson e^(z)

Similar to the embodiment in FIG. 4 described above having a single hidden layer, the modeling process of FIG. 5 can produce models of the form represented in FIG. 5 that are monotonic in every predictor variable.

Returning to FIG. 3, in block 308, a relationship between each predictor variable and a response variable is assessed. In some aspects, the automated modeling application can determine the relationship between each predictor variable and an expected value of the response variable (e.g., using the optimization module 212 of FIG. 2).

For example, the automated modeling application can determine whether the modeled score E(Y_(l))=(H^(p)δ^(l)) exhibits a monotonic relationship with respect to each predictor variable X_(i). A monotonic relationship exists between each of the predictor variables and the response variable when either: i) a value of the response variable increases as a value of each of the predictor variables increases; or ii) when the value of the response variable decreases as the value of each of the predictor variable increases. In some aspects, the automated modeling application generalizes to produce neural network models with multiple hidden layers such that the modeled score E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) is monotonic with respect to each predictor variable.

In some aspects, in block 308, the automated modeling application can apply a coefficient method for determining the monotonicity of a relationship between each predictor and the response variable. In some aspects, the coefficient method can be used to determine how one or more predictor variables influence the credit score or other response variable. The coefficient method can ensure that a modeled relationship between the predictor variables and the credit score or response variable has a trend that matches or otherwise corresponds to a trend identified using an exploratory data analysis for a set of sample consumer data (e.g., matches a trend identified in block 304).

For example, with reference to FIG. 4, the coefficient method can be executed by the automated modeling application to determine the monotonicity of a modeled relationship between each predictor variable X_(i) with E(Y_(l))=ƒ_(l)(H^(p)δ^(l)). The coefficient method involves analyzing a change in E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) with respect to each predictor variable X. This can allow the automated modeling application to determine the effect of each predictor variable X_(i) on response variable Y_(l). E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) increases on an interval if Hδ^(l) increases. The automated modeling application can determine whether Hδ^(l) is increasing by analyzing a partial derivative

$\frac{\partial}{\partial X_{i}}{\left( {H\;\delta^{l}} \right).}$ For example, the automated modeling application can determine the partial derivative using the following equation:

$\begin{matrix} {{\frac{\partial}{\partial X_{i}}\left( {H\;\delta^{l}} \right)} = {{\sum\limits_{j = 1}^{m}\;{\delta_{j}^{l}\frac{\partial}{\partial X_{i}}H_{j}}} = {\sum\limits_{j = 1}^{m}{\beta_{ij}\delta_{j}^{l}\frac{\exp\left( {{- X}\;\beta^{j}} \right)}{\left( {1 + {\exp\left( {{- X}\;\beta^{j}} \right)}} \right)^{2}}}}}} & (7) \end{matrix}$ The example in equation (7) involves a single hidden layer with a logistic link function. But other implementations can be used, as described below.

A modeled score can depend upon the cumulative effect of multiple connections between a predictor variable and an expected value of a response variable (e.g. an output probability of a response variable). In the equation (7) above, the score's dependence on each X_(i) can be an aggregation of multiple possible connections from X_(i) to E(Y_(l))=ƒ_(l)(H^(p)δ^(l)). Each product β_(ij)δ_(j) ^(l) in the summation of the equation (7) above can represent the coefficient mapping from X_(i) to E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) through H_(j). The remaining term in the product of the equation above can be bounded by

$0 < \frac{\exp\left( {{- X}\;\beta^{j}} \right)}{\left( {1 + {\exp\left( {{- X}\;\beta^{j}} \right)}} \right)^{2}} \leq {\frac{1}{4}.}$ In credit decision applications, this bounding can temper the effect on the contribution to points lost on each connection and can be dependent upon a consumer's position on the score surface. Contrary to traditional logistic regression scorecards, the contribution of a connection to the score E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) may vary for each consumer since

$\frac{\exp\left( {{- X}\;\beta^{j}} \right)}{\left( {1 + {\exp\left( {{- X}\;\beta^{j}} \right)}} \right)^{2}}$ is dependent upon the values of all the consumer's predictor variables.

If the number of hidden nodes is m=1, then the modeled score E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) is monotonic in every predictor variable X_(i), since equation (7) above, when set equal to 0, does not have any solutions. Therefore, Hδ^(l) does not have any critical points. Thus, E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) is either always increasing if the equation (7) above is positive, or always decreasing if the equation (7) above is negative, for every consumer in the sample.

The case of m=1 can be a limiting base case. A feed-forward neural network with a single hidden layer (e.g., the single-layer neural network 400 of FIG. 4) can be reduced to a model where E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) is monotonic in each predictor variable X_(i). Therefore, the process for optimizing the neural network, which utilizes the coefficient method described herein, can successfully terminate.

In another example and with reference to FIG. 5, similar to the aspect described for the single-layer neural network 400 of FIG. 4, the modeling process can produce models of the form represented in FIG. 5 that are monotonic in every predictor variable. A generalized version of the coefficient method described herein can be used in the automated modeling process. For example, the coefficient method can be generalized to assess the monotonicity of the modeled relationship of each predictor X_(i) with E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) for neural networks with the architecture described above with respect to FIG. 5. The automated modeling application is used to analyze the effect of X_(i) on the log-odds scale score H^(p)δ^(l). The partial derivative is computed as:

$\begin{matrix} {{\frac{\partial}{\partial X_{i}}\left( {H^{p}\;\delta^{l}} \right)} = {\sum\limits_{j_{p} = 1}^{m_{p}}{\sum\limits_{j_{p - 1} = 1}^{m_{p - 1}}{\sum\limits_{j_{p - 2} = 1}^{m_{p - 2}}\mspace{14mu}{\ldots\mspace{14mu}{\sum\limits_{j_{2} = 1}^{m_{2}}{\sum\limits_{j_{1} = 1}^{m_{1}}{\delta_{j_{p}}^{l}\beta_{j_{p - 1}j_{p}}^{p}\beta_{j_{p - 2}j_{p - 1}}^{p - 1}\mspace{14mu}\ldots\mspace{20mu}\beta_{j_{2}j_{3}}^{3}\beta_{j_{1}j_{2}}^{2}{\beta_{{ij}_{1}}^{1}.{\varphi^{\prime}\left( {H^{p - 1}\beta_{.j_{p}}^{p}} \right)}}{\varphi^{\prime}\left( {H^{p - 2}\beta_{.j_{p - 1}}^{p - 1}} \right)}\mspace{14mu}\ldots\mspace{14mu}{\varphi^{\prime}\left( {H^{2}\beta_{.j_{3}}^{3}} \right)}{\varphi^{\prime}\left( {H^{1}\beta_{.j_{2}}^{2}} \right)}{{\varphi^{\prime}\left( {X\;\beta_{.j_{1}}^{1}} \right)}.}}}}}}}}} & (8) \end{matrix}$

As with single hidden layer neural networks (e.g., the single-layer neural network 400 of FIG. 4), the score's dependence on each X_(i) is an aggregation of all possible connections from X_(i) to E(Y_(l))=ƒ_(l)(H^(p)δ^(l)). Since φ is a differentiable sigmoid function on

, φ′(x)>0 for every x∈

. The sign of equation (8) above depends upon a tempered aggregation of each product δ_(j) _(p) ^(l)β_(j) _(p−1) _(j) _(p) ^(p)β_(j) _(p−2) _(j) _(p−1) ^(p−1) . . . β_(j) ₂ _(j) ₃ ³β_(j) ₁ _(j) ₂ ²β_(ij) ₁ ¹, which maps X_(i) to E(Y_(l))=ƒ_(l)(H^(p)δ^(l)) through the nodes H_(j) ₁ ¹, H_(j) ₂ ², . . . , H_(j) _(p) ^(p). If m₁=m₂= . . . =m_(p)=1, then equation (8) above, when set equal to 0, does not have any solutions. In this case, the modeled expected value E(Y_(l))=(H^(p)δ^(l)) is monotonic in each predictor X_(i). This is a limiting base case, and shows that a multiple hidden layer neural network (e.g., the multi-layer neural network 500 of FIG. 5) can be reduced to a model monotonic in each predictor. The generalized coefficient method can replace the coefficient method described above with respect to FIG. 4.

The development of a model involves numerous iterations of the automated model development process. Efficient computation and analysis of equations (7) or (8) above facilitates more robust model development for neural network architectures employing logistic activation functions, this can be attained by exploiting the symmetry of the logistic function and retaining intermediate output of the statistical software system. For example, a neural network with multiple hidden layer as depicted in FIG. 2 can have the following logistic activation function:

${\varphi(x)} = {\frac{1}{1 + e^{- x}}.}$ The derivative of the logistic function satisfies φ′(x)=φ(x)(1−φ(x)), Equation (8) above can be computed as

$\begin{matrix} {{\frac{\partial}{\partial X_{i}}\left( {H^{p}\;\delta^{l}} \right)} = {\sum\limits_{j_{p} = 1}^{m_{p}}{\sum\limits_{j_{p - 1} = 1}^{m_{p - 1}}{\sum\limits_{j_{p - 2} = 1}^{m_{p - 2}}\mspace{14mu}{\ldots\mspace{14mu}{\sum\limits_{j_{2} = 1}^{m_{2}}{\sum\limits_{j_{1} = 1}^{m_{1}}{\delta_{j_{p}}^{l}\beta_{j_{p - 1}j_{p}}^{p}\beta_{j_{p - 2}j_{p - 1}}^{p - 1}\mspace{14mu}\ldots\mspace{20mu}\beta_{j_{2}j_{3}}^{3}\beta_{j_{1}j_{2}}^{2}{\beta_{{ij}_{1}}^{1}.{\varphi\left( {H^{p - 1}\beta_{.j_{p}}^{p}} \right)}}\left( {1 - {\varphi\left( {H^{p - 1}\beta_{.j_{p}}^{p}} \right)}} \right)\;{\varphi\left( {H^{p - 2}\beta_{.j_{p - 1}}^{p - 1}} \right)}{\left( {1 - {\varphi\left( {H^{p - 2}\beta_{.j_{p - 1}}^{p - 1}} \right)}} \right) \cdot \ldots}\mspace{14mu}{\varphi\left( {H^{2}\beta_{.j_{3}}^{3}} \right)}\left( {1 - {\varphi\left( {H^{2}\beta_{.j_{3}}^{3}} \right)}} \right)\varphi\left( {H^{1}\beta_{.j_{2}}^{2}} \right)\left( {1 - {\varphi\left( {H^{1}\beta_{.j_{2}}^{2}} \right)}} \right){\varphi\left( {X\;\beta_{.j_{1}}^{1}} \right)}{\left( {1 - {\varphi\left( {X\;\beta_{.j_{1}}^{1}} \right)}} \right).}}}}}}}}} & (9) \end{matrix}$

Each term φ(H^(k−1)β_(·j) _(k) ^(k)) in equation (9) above is captured as intermediate output in software scoring systems, which can be leveraged to achieve efficient computation of the generalized coefficient method. The order statistics of the generalized coefficient method for each predictor in the model can be analyzed. This analysis can be used to make decisions in the iterative automated model development process described above.

Returning to FIG. 3, in block 310, the automated modeling application can determine if a relationship between the predictor variables and a response variable is monotonic (e.g., in block 308). If the relationship is monotonic, the automated modeling application proceeds to block 312, described below.

If the relationship between the predictor variables and the response variable is not monotonic, in block 314 the automated modeling application adjusts the neural network (e.g., the single-layer neural network 400 of FIG. 4 or the multi-layer neural network 500 of FIG. 5) by adjusting a number of nodes in the neural network, a predictor variable in the neural network, a number of hidden layers, or some combination thereof. Adjusting the predictor variables can include eliminating the predictor variable from the neural network. Adjusting the number of nodes in the neural network can include adding or removing a node from a hidden layer in the neural network. Adjusting the number of hidden layers in the neural network can include adding or removing a hidden layer in the neural network.

In some aspects, the automated modeling application can iteratively determine if a monotonic relationship exists between the predictor variables and a response variable (e.g., in block 310) and iteratively adjust a number of nodes or predictor variables in the neural network until a monotonic relationship exists between the predictor variables and the response variable. In one example, if the predictor variables are adjusted, the process can return to block 302, and the operations associated with blocks 302, 304, 306, 308, and 310 can be performed in the iteration, as depicted in FIG. 3. In another example, if the number of nodes or hidden layers is changed, the operations associated with blocks 306, 308, and 310 can be performed in the iteration. Each iteration can involve determining a correlation between each predictor variable and a positive or negative outcome to determine if a monotonic relationship exists between the predictor variables and a response variable. The automated modeling application can terminate the iteration if the monotonic relationship exists between each of the predictor variables and the response variable, or if a relationship between each of the predictor variables and the response variable corresponds to a relationship between each of the predictor variables and an odds index (e.g., the relationship between each of the predictor variables and the odds index determined in block 304).

In block 312, the neural network can be used for various applications if a monotonic relationship exists between each predictor variable and the response variable. For example, the automated modeling application can use the neural network to determine an effect or an impact of each predictor variable on the response variable after the iteration is terminated. The automated modeling application may also determine a rank of each predictor variable based on the impact of each predictor variable on the response variable. In some aspects, the automated modeling application 102 generates and outputs an adverse action code associated with each predictor variable that indicates the effect or the amount of impact that each predictor variable has on the response variable.

Optimizing the neural network in this manner can allow the automated modeling application to use the neural network to accurately determine response variables using predictor variables and accurately determine an adverse action code impact for each of the predictor variables. In some credit applications, the automated modeling application and neural networks described herein can be used for both determining a response variable (e.g., credit score) associated with an entity (e.g., an individual) based on predictor variables associated with the entity and determining an impact or an amount of impact of the predictor variable on the response variable.

In some aspects, the automated modeling application disclosed herein can identify appropriate adverse action codes from the neural network used to determine the credit score. The automated modeling application can rank adverse action codes based on the respective influence of each adverse action code on the credit score. Every predictor variable can be associated with an adverse action code. For example, a number of delinquencies can be associated with an adverse action code.

In some aspects, the automated modeling application uses the neural network to provide adverse action codes that are compliant with regulations, business policies, or other criteria used to generate risk evaluations. Examples of regulations to which the coefficient method conforms and other legal requirements include the Equal Credit Opportunity Act (“ECOA”), Regulation B, and reporting requirements associated with ECOA, the Fair Credit Reporting Act (“FCRA”), the Dodd-Frank Act, and the Office of the Comptroller of the Currency (“OCC”). The automated modeling application may provide recommendations to a consumer based on the adverse action codes. The recommendations may indicate one or more actions that the consumer can take to improve the change the response variable (e.g., improve a credit score).

In some aspects, the neural network optimization described herein can allow an automated modeling application to extract or otherwise obtain an assignment of an adverse action code from the neural network without using a logistic regression algorithm. The neural network can be used to determine a credit score or other response variable for an individual or other entity. The automated modeling application can use the same neural network to generate both a credit score or other response variable and one or more adverse action codes associated with the credit score or other response variable. The automated modeling application can generate the neural network in a manner that allows the neural network to be used for accurate adverse action code assignment.

In some aspects, the use of optimized neural networks can provide improved performance over solutions for generating, for example, credit scores that involve modeling predictor variables monotonically using a logistic regression model. For example, in these models, these solutions may assign adverse action codes using a logistic regression model to obtain a probability p=P(Y=1) of a binary random variable Y. An example of a logistic regression model is given by the following equation:

$\begin{matrix} {{{\log\left( \frac{p}{1 - p} \right)} = {{f\left( {X_{1},\ldots\mspace{14mu},X_{n}} \right)} = {{X\;\beta} = {\beta_{0} + {X_{1}\beta_{1}} + \ldots + {X_{n}\beta_{n}}}}}},} & (10) \\ {\mspace{79mu}{{such}\mspace{14mu}{that}}} & \; \\ {\mspace{79mu}{p = \frac{1}{1 + {\exp\left( {{- X}\;\beta} \right)}}}} & (11) \end{matrix}$

The points lost per predictor variable may then be calculated as follows. Let x_(i) ^(m) be the value of the predictor variable X_(i) that maximizes ƒ(X₁, . . . , x_(i) ^(m), . . . , X_(n)). For an arbitrary function ƒ, x_(i) ^(m) may depend on other predictor variables. However, because of the additive nature of the logistic regression model, x_(i) ^(m) and the points lost for the predictor variable X_(i) do not depend upon the other predictor variables since ƒ(X ₁ , . . . , x _(i) ^(m) , . . . , X _(n))−ƒ(X ₁ , . . . , X _(i) , . . . , X _(n))=(β₀+β₁ X ₁+ . . . +β_(i) x _(i) ^(m)+ . . . +β_(n) X _(n))−(β₀+β₁ X ₁+ . . . +β_(i) X _(i)+ . . . +β_(n) X _(n))=β_(i)(x _(i) ^(m) −X _(i))  (12)

Since the logit transformation

$\log\left( \frac{p}{1 - p} \right)$ is monotonically increasing in p, the same value x_(l) ^(m) maximizes p. Therefore, rank-ordering points lost per predictor variable is equivalent to rank-ordering the score loss. Hence, the rank-ordering of the adverse action codes is equivalent using the log-odds scale or the probability score scale. Moreover, ƒ is either always increasing in X_(i) if β_(i)>0, or always decreasing in X_(i) if β_(i)<0, since

${\frac{\partial}{\partial X_{i}}(f)} = {\beta_{i}.}$ Therefore x_(i) ^(m) is determined from the appropriate endpoint of the domain of X_(i) and does not depend upon the other predictor variables.

The equation (12) above may be used in contexts other than logistic regression, although the subsequent simplifications in equation (12) may no longer be applicable. For example, the automated modeling application can use the equation (12) above for any machine learning technique generating a score as f(X₁, . . . , X_(n)).

For neural networks, the computational complexity of equation (12) may result from determining x_(i) ^(m) in a closed form solution as a function of other input predictor variables. In one example, determining x_(i) ^(m) in a closed form solution as a function of other input predictor variables involves setting equation (7) equal to 0 and explicitly solving for x_(i) ^(m). Contrary to logistic regression, solving for x_(i) ^(m) requires numerical approximation and can be dependent upon the other predictor variables. The storage and computing requirements to generate tables of numerical approximations for x_(i) ^(m) for all combinations of the other predictor variables can be impractical or infeasible for a processing device.

In some aspects, the automated modeling application constrains a neural network model to agree with observed monotonic trends in the data. The value x_(i) ^(m) of X_(i) that maximizes an output expected value score can be explicitly determined by one endpoint of the predictor variable X_(i)'s domain. As a result, for each consumer, equation (12) can be leveraged to rank-order a number of points lost for each predictor variable. Adverse action codes can be associated with each predictor variable and the ranking can correctly assign the key reason codes to each consumer.

The automated modeling application can thus reduce the amount of computational complexity such that the same neural network model can be used by a computer-implemented algorithm to determine a credit score and the adverse action codes that are associated with the credit score. In prior solutions, the computational complexity involved in generating a neural network model that can be used for both determining credit scores and adverse action codes may be too high to use a computer-implemented algorithm using such a neural network model. Thus, in prior solutions, it may be computationally inefficient or computationally infeasible to use the same neural network to identify adverse action codes and generate a credit score. For example, a data set used to generate credit scores may involve financial records associated with millions of consumers. Numerically approximating the location of each consumer's global maximum score is computationally intractable using current technology in a run-time environment.

FIG. 6 is a flow chart depicting an example of a process for using a neural network to identify predictor variables with larger impacts on a response variable according to certain aspects of the present disclosure.

In block 602, an exploratory data analysis is performed for a data set having multiple predictor variables. In some aspects, an automated modeling application (e.g., the automated modeling application 102 of FIG. 1) or another suitable application can be used to perform the exploratory data analysis. The exploratory data analysis can involve analyzing a distribution of one or more predictor variables and determining a bivariate relationship or correlation between the predictor variable and some sort of response variable.

In block 604, a relationship between each predictor variable and a response variable, which is modeled using a neural network, is assessed to verify that the modeled relationship corresponds to a behavior of the predictor variable in the exploratory data analysis. In some aspects, an automated modeling application (e.g., the automated modeling application 102 of FIG. 1) or another suitable application can be used to perform one or more operations for implementing block 604. For example, the automated modeling application can perform one or more operations described above with respect to FIG. 3 for assessing the monotonicity of a relationship between a relationship between each predictor variable and a response variable as modeled using the neural network. The automated modeling application can be used to optimize or otherwise adjust a neural network such that the modeled relationship between the predictor variable and the response variable is monotonic, and therefore corresponds to the observed relationship between the predictor variable and the response variable in the exploratory data analysis.

In block 606, the neural network is used to determine a rank of each predictor variable based on an impact of the predictor variable on the response variable. In some aspects, an automated modeling application (e.g., the automated modeling application 102 of FIG. 1) or another suitable application can rank the predictor variables based on according to the impact of each predictor variable on the response variable. The automated modeling application can determine the ranks by performing one or more operations described above.

In block 608, a subset of the ranked predictor variables is selected. In some aspects, an automated modeling application (e.g., the automated modeling application 102 of FIG. 1) or another suitable application can select the subset of ranked predictor variables. For example, the automated modeling application can select a certain number of highest-ranked predictor variables (e.g., the first four predictor variables).

Any suitable device or set of computing devices can be used to execute the automated modeling application described herein. For example, FIG. 7 is a block diagram depicting an example of an automated modeling server 104 (e.g., the automated modeling server 104 of FIG. 1) that can execute an automated modeling application 102. Although FIG. 7 depicts a single computing system for illustrative purposes, any number of servers or other computing devices can be included in a computing system that executes an automated modeling application. For example, a computing system may include multiple computing devices configured in a grid, cloud, or other distributed computing system that executes the automated modeling application 102.

The automated modeling server 104 can include a processor 702 that is communicatively coupled to a memory 704 and that performs one or more of executing computer-executable program instructions stored in the memory 704 and accessing information stored in the memory 704. The processor 702 can include one or more microprocessors, one or more application-specific integrated circuits, one or more state machines, or one or more other suitable processing devices. The processor 702 can include any of a number of processing devices, including one. The processor 702 can include or may be in communication with a memory 704 that stores program code. When executed by the processor 702, the program code causes the processor to perform the operations described herein.

The memory 704 can include any suitable computer-readable medium. The computer-readable medium can include any electronic, optical, magnetic, or other storage device capable of providing a processor with computer-readable program code. Non-limiting examples of a computer-readable medium include a CD-ROM, DVD, magnetic disk, memory chip, ROM, RAM, an ASIC, a configured processor, optical storage, magnetic tape or other magnetic storage, or any other medium from which a computer processor can read instructions. The program code may include processor-specific instructions generated by a compiler or an interpreter from code written in any suitable computer-programming language, including, for example, C, C++, C #, Visual Basic, Java, Python, Perl, JavaScript, ActionScript, and PMML.

The automated modeling server 104 may also include, or be communicatively coupled with, a number of external or internal devices, such as input or output devices. For example, the automated modeling server 104 is shown with an input/output (“I/O”) interface 708 that can receive input from input devices or provide output to output devices. A bus 706 can also be included in the automated modeling server 104. The bus 706 can communicatively couple one or more components of the automated modeling server 104.

The automated modeling server 104 can execute program code for the automated modeling application 102. The program code for the automated modeling application 102 may be resident in any suitable computer-readable medium and may be executed on any suitable processing device. The program code for the automated modeling application 102 can reside in the memory 704 at the automated modeling server 104. The automated modeling application 102 stored in the memory 704 can configure the processor 702 to perform the operations described herein.

The automated modeling server 104 can also include at least one network interface 110 for communicating with the network 110. The network interface 710 can include any device or group of devices suitable for establishing a wired or wireless data connection to one or more data networks 110. Non-limiting examples of the network interface 710 include an Ethernet network adapter, a modem, or any other suitable communication device for accessing a data network 110. Examples of a network 110 include the Internet, a personal area network, a local area network (“LAN”), a wide area network (“WAN”), or a wireless local area network (“WLAN”). A wireless network may include a wireless interface or combination of wireless interfaces. As an example, a network in the one or more networks 110 may include a short-range communication channel, such as a Bluetooth or a Bluetooth Low Energy channel. A wired network may include a wired interface. The wired or wireless networks may be implemented using routers, access points, bridges, gateways, or the like, to connect devices in the network 110. The network 110 can be incorporated entirely within or can include an intranet, an extranet, or a combination thereof. In one example, communications between two or more systems or devices in the computing environment 100 can be achieved by a secure communications protocol, such as secure sockets layer (“SSL”) or transport layer security (TLS). In addition, data or transactional details may be encrypted.

The foregoing description of the examples, including illustrated examples, has been presented only for the purpose of illustration and description and is not intended to be exhaustive or to limit the subject matter to the precise forms disclosed. Numerous modifications, adaptations, and uses thereof will be apparent to those skilled in the art without departing from the scope of this disclosure. The illustrative examples described above are given to introduce the reader to the general subject matter discussed here and are not intended to limit the scope of the disclosed concepts. 

What is claimed is:
 1. A system comprising: a processing device; and a memory device in which instructions executable by the processing device are stored for causing the processing device to: receive a plurality of predictor variables, wherein each predictor variable corresponds to an entity; determine a correlation between each predictor variable and an outcome; generate a neural network that includes a hidden layer for determining a relationship between each predictor variable and a response variable based on the correlation, wherein the response variable indicates a behavior associated with the entity and wherein the neural network is operable for determining whether a monotonic relationship exists between each predictor variable and the response variable; iteratively adjust the neural network so that the monotonic relationship exists between each predictor variable and the response variable as determined by the neural network, wherein adjusting the neural network comprises adjusting at least one of a number of nodes in the hidden layer of the neural network, a predictor variable in the plurality of predictor variables, or a number of hidden layers in the neural network, and wherein the processing device is configured to determine, based on a rate of change of the response variable with respect to the predictor variable, that the monotonic relationship exists between each predictor variable and the response variable; determine, using the neural network, the response variable based at least partially on the predictor variables after the monotonic relationship exists between each predictor variable and the response variable; determine, using the neural network, an impact of each predictor variable on the response variable; and generate, using the neural network, an adverse action code associated with each predictor variable that indicates the impact of each predictor variable on the response variable.
 2. The system of claim 1, wherein the hidden layer comprises at least two hidden layers.
 3. The system of claim 1, wherein the processing device is configured to determine the correlation between each predictor variable and an outcome by determining a correlation between each predictor variable and an amount of positive outcomes or negative outcomes, wherein each positive outcome indicates that a condition is satisfied and each negative outcome indicates failure to satisfy the condition.
 4. The system of claim 3, wherein the processing device is configured to determine the correlation between each predictor variable and the amount of positive outcomes or negative outcomes by performing operations comprising verifying that a bivariate relationship exists between each predictor variable and the amount of positive outcomes or negative outcomes.
 5. The system of claim 1, wherein the processing device is further configured to determine a rank of each predictor variable, using the neural network, based on the impact of each predictor variable on the response variable.
 6. The system of claim 1, wherein the response variable corresponds to a credit score of the entity.
 7. A method comprising: receiving, by a processor, a plurality of predictor variables, wherein each predictor variable corresponds to an entity; determining, by the processor, a correlation between each predictor variable and an amount of positive outcomes or negative outcomes, wherein each positive outcome indicates that a condition is satisfied and each negative outcome indicates failure to satisfy the condition; generating, by the processor, a neural network that includes a hidden layer for determining a relationship between each predictor variable and a response variable based on the correlation, wherein the response variable is indicates a behavior associated with the entity; and iteratively adjusting the neural network so that a monotonic relationship exists between each predictor variable and the response variable as determined by the neural network.
 8. The method of claim 7, wherein iteratively adjusting the neural network includes determining whether the monotonic relationship exists between each predictor variable and the response variable.
 9. The method of claim 7, wherein adjusting the neural network includes adjusting at least one of a number of nodes in the hidden layer of the neural network, a predictor variable in the plurality of predictor variables, or a number of hidden layers in the neural network, wherein the method further comprises: determining, using the neural network, the response variable based at least partially on the predictor variables after the monotonic relationship exists between each predictor variable and the response variable; determining, based on a rate of change of the response variable with respect to the predictor variable, that the monotonic relationship exists between each predictor variable and the response variable; determining, using the neural network, an impact of each predictor variable on the response variable; determining, using the neural network, an adverse action code associated with each predictor variable that indicates the impact of each predictor variable on the response variable; and determining, using the neural network, a rank of each predictor variable based on the impact of each predictor variable on the response variable.
 10. The method of claim 9, further comprising outputting, by the processor, the response variable, each predictor variable, the adverse action code associated with each predictor variable, and the rank of each predictor variable.
 11. The method of claim 9, wherein the hidden layer comprises at least two hidden layers.
 12. The method of claim 7, wherein determining the correlation between each predictor variable and the amount of positive outcomes or negative outcomes includes verifying that a bivariate relationship exists between each predictor variable and the amount of positive outcomes or negative outcomes.
 13. A non-transitory computer-readable storage medium having program code that is executable by a processor device to cause the processor device to perform operations, the operations comprising: receiving a plurality of predictor variables, wherein each predictor variable corresponds to an entity; determining a correlation between each predictor variable and an amount of positive outcomes or negative outcomes, wherein each positive outcome indicates that a condition is satisfied and each negative outcome indicates failure to satisfy the condition; generating a neural network that includes a hidden layer for determining a relationship between each predictor variable and a response variable based on the correlation, wherein the response variable indicates a behavior associated with the entity and wherein the neural network is operable for determining whether a monotonic relationship exists between each predictor variable and the response variable; and iteratively adjusting the neural network so that the monotonic relationship exists between each predictor variable and the response variable as determined by the neural network.
 14. The non-transitory computer-readable storage medium of claim 13, wherein the operations further comprise: adjusting the neural network by adjusting at least one of a number of nodes in the hidden layer of the neural network, a predictor variable in the plurality of predictor variables, or a number of hidden layers in the neural network; determining, using the neural network, the response variable based at least partially on the predictor variables after the monotonic relationship exists between each predictor variable and the response variable; determining, based on a rate of change of the response variable with respect to the predictor variable, that the monotonic relationship exists between each predictor variable and the response variable; determining, using the neural network, an impact of each predictor variable on the response variable; and generating, using the neural network, an adverse action code associated with each predictor variable that indicates the impact of each predictor variable on the response variable.
 15. The non-transitory computer-readable storage medium of claim 14, wherein the operations further comprise determining, using the neural network, a rank of each predictor variable based on the impact of each predictor variable on the response variable.
 16. The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise selecting, using the neural network, a subset of the predictor variables based on the ranks of the selected subset of the predictor variables.
 17. The non-transitory computer-readable storage medium of claim 16, wherein the operations further comprise outputting, by the processor device, the response variable, each predictor variable, the adverse action code associated with each predictor variable, and the rank of each predictor variable.
 18. The non-transitory computer-readable storage medium of claim 15, wherein the hidden layer comprises at least two hidden layers.
 19. The non-transitory computer-readable storage medium of claim 13, wherein the operations further comprise determining the correlation between each predictor variable and the amount of positive outcomes or negative outcomes by verifying that a bivariate relationship exists between each predictor variable and the amount of positive outcomes or negative outcomes. 